//
//  QuickFingerScrollViewLayer.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/8/13.
//
//

#ifndef CanYouDoIt_QuickFingerScrollViewLayer_h
#define CanYouDoIt_QuickFingerScrollViewLayer_h

#include "ScrollViewLayer.h"
#include "NavigationBar.h"
#include "DescriptionLayer.h"
using namespace cocos2d;

class QuickFingerScrollViewLayer : public ScrollViewLayer{
public:
    //variable
    NavigationBar* navigationBar;
    DescriptionLayer* descriptionLayer;
    CCArray* descriptionContentArray;
    
    //method
    void updateDescription();
    void didBeginMovingPages();
    void setUpColor();

    void onTapAtPage(CCObject* sender);
    static QuickFingerScrollViewLayer* create(int numOfPages);
    bool init();
    CREATE_FUNC(QuickFingerScrollViewLayer);
};


#endif
